ComponentOne ASP.NET MVC Controls
ItemValidator Property (FlexGridBase<T>)

C1.Web.Mvc Namespace > FlexGridBase<T> Class : ItemValidator Property
Gets or sets a validator function to determine whether cells contain valid data.
Syntax
'Declaration
 
<JsonConverterAttribute(C1.JsonNet.Converters.FunctionConverter)>
Public Overridable Property ItemValidator As String
[JsonConverter(C1.JsonNet.Converters.FunctionConverter)]
public virtual string ItemValidator {get; set;}
Remarks
If specified, the validator function should take two parameters containing the cell's row and column indices, and should return a string containing the error description. This property is especially useful when dealing with unbound grids, since bound grids can be validated using the BaseCollectionViewService<T>.GetError property instead.
See Also

Reference

FlexGridBase<T> Class
FlexGridBase<T> Members